package com.fen;

import org.springframework.stereotype.Service;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 * @description:
 * @author: lrf
 * @create: 2019-09-02
 **/
@Service
public class UserAnnotionService {

    private static final Logger logger = Logger.getLogger(UserAnnotionService.class.getName());

    @Action(name = "注解式拦截的 add 操作")
    public void add(){
        System.out.println("注解式拦截的 add 操作...");
        logger.log(Level.INFO, "注解式拦截的 add 操作...");
    }
}
